package com.hzqdn.monsterpost.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzqdn.monstermodel.entity.User;
import com.hzqdn.monstermodel.entity.post.PostThumb;

public interface PostThumbService extends IService<PostThumb> {
    /**
     * 帖子点赞
     */
    int doPostThumb(long postId, User loginUser);

    /**
     * 帖子点赞（内部服务）
     */
    int doPostThumbInner(long userId, long postId);
}
